﻿using System;

namespace Protobuf_Gui.Misc
{
    public class ItemTypeDesc
    {
        public Type Type { get; set; }

        public string Caption { get; set; }

        public ItemTypeDesc(Type type, string caption)
        {
            Type = type;
            Caption = caption;
        }

        public override string ToString()
        {
            return Caption;
        }
    }
}